Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

219
Vistas
how to use "selection" event listener on autoComplete javascript library

I've been spending the last few days trying to figure out how to use TarekRaafat's autoComplete.js on one of my input box. my current problem is, when I click one of the options, nothing happens. here's what I tried: https://jsfiddle.net/vjyLagh8/14/

the console.log in 'selection' event are not called

  autoCompleteJS.input.addEventListener("selection", function (e) {
    console.log('selection detail'); // ==> this doesn't appear in dev tools
    // ...
  });

I'm doing it exactly like in the codepen example but why is my code not working? what am I doing wrong?

any help is appreciated..

about 4 years ago · Santiago Gelvez
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda